package com.happyfamily.springboot.crowdsourcingplatform.service.weng;

import com.happyfamily.springboot.crowdsourcingplatform.base.result.Results;
import com.happyfamily.springboot.crowdsourcingplatform.dto.LogDto;
import com.happyfamily.springboot.crowdsourcingplatform.model.OperationLog;

public interface LogService
{
	Results<OperationLog> getAllLogsByPage(Integer startPosition, Integer limit);

	int deleteLog(Integer id);

	LogDto getLogById(Integer id);

	Results<OperationLog> getLogByFuzzy(String logDescribe, String operationType, String startTime, String endTime, Integer startPosition, Integer limit);


	int insert(OperationLog operationLog);
}
